package test;

import com.config.DBConfig;
import com.service.ReceiveAddressService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.Map;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = DBConfig.class)
public class Demo {
    @Autowired
    ReceiveAddressService receiveAddressService;
    @Test
    public void test1() {
//        Map<String, Object> receiveOrder = receiveAddressService.getReceiveOrder(1);
//        System.out.println(receiveOrder);
    }
}
